<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cadastrar Animal</title>
</head>
<body>
<s:actionerror/>
<s:form action="Animal!insert" namespace="/model">
  <s:textfield name="entity.nome" label="Nome" size="20" maxlength="15"/>
  <s:textfield name="entity.especie" label="Especie" size="20" maxlength="15"/>
  <s:select name="entity.tipoAnimal" headerKey="0" listKey="descAnimal"
            listValue="descAnimal" list="entity.tipos" label = "Especie do Animal"/>
  <s:select name="entity.dono.id" headerKey="0" listKey="id"
            listValue="nome" list="pessoas" label = "Dono(a) do Animal"/>
  <s:submit value="Cadastrar"/>          
</s:form>
</body>
</html>
